﻿<Window x:Name="NewDocumentWindow" x:Class="iSmartCreatorApp.NewDocument"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Create a new document or template" Height="207.582" Width="418.194" ResizeMode="NoResize" WindowStyle="ToolWindow">
    <DockPanel LastChildFill="False">
        <DockPanel Dock="Top">
            <GroupBox Header="What kind of file do you want to create?" Margin="0,10,0,0" DockPanel.Dock="Top">
                <DockPanel Dock="Top" Margin="0,10,0,0">
                    <RadioButton x:Name="RadioBtnNewFile1" Content="A blank Document" DockPanel.Dock="Top" Click="RadioBtnNewFile1_Click"/>
                    <DockPanel Dock="Top" Margin="40,10,0,0">
                        <CheckBox x:Name="ChckBxNewFile1" Content="Create a XHTML document"/>
                        <CheckBox x:Name="ChckBxNewFile2" Content="Strict DTD" Margin="20,0,0,0"/>
                    </DockPanel>
                    <RadioButton x:Name="RadioBtnNewFile2" Content="A blank template" Margin="0,10,0,0" Click="RadioBtnNewFile2_Click"/>
                </DockPanel>
            </GroupBox>
            <DockPanel LastChildFill="False">
                <Label Content="File Name: " Margin="61,0,0,0"/>
                <TextBox Width="89" Name="TxtBxFileName" Height="22" BorderThickness="1" Margin="0"/>
            </DockPanel>
        </DockPanel>
        <DockPanel LastChildFill="False" Dock="Bottom" Margin="0,0,0,10">
            <Label Content="Title of the document: "/>
            <TextBox Width="89" Name="TxtBxTitle" Height="22"/>
            <Button x:Name="BtnNewFileCancel" DockPanel.Dock="Right" Content="Cancel" Width="70" Height="22" Margin="0,0,10,0" Click="BtnNewFileCancel_Click"/>
            <Button x:Name="BtnNewFileCreate" DockPanel.Dock="Right" Content="Create" Margin="0,0,20,0" Width="70" Height="22" Click="BtnNewFileCreate_Click"/>
        </DockPanel>
    </DockPanel>
</Window>
